﻿{
	"definitions": [//Dyes: Black=0 Red =1 Green=2 Brown=3 Blue=4 Purple=5 UNU=6 Silver=7 Grey=8 Pink=9 Lime=10 Yellow=11 Light Blue=12 Magenta=13 Orange=14 White=15
		{
			"name": "PMC Freightmaster Long Sleeper",
			"subName": "_yellow",
			"extraMaterialLists": [[]]
		},
                {
			"name": "PMC Freightmaster Long Sleeper",
			"subName": "_white",
			"extraMaterialLists": [[]]
		},
                {
			"name": "PMC Freightmaster Long Sleeper",
			"subName": "_red",
			"extraMaterialLists": [[]]
		},
                {
			"name": "PMC Freightmaster Long Sleeper",
			"subName": "_blue",
			"extraMaterialLists": [[]]
		},
                {
			"name": "PMC Freightmaster Long Sleeper",
			"subName": "_black",
			"extraMaterialLists": [[]]
		},
                {
			"name": "PMC Freightmaster Long Sleeper",
			"subName": "_orange",
			"extraMaterialLists": [[]]
		},
                {
			"name": "PMC Freightmaster Long Sleeper",
			"subName": "_grey",
			"extraMaterialLists": [[]]
		}
	],

	"general": {
		"description": "The second part of sleeper, end user is responsable for paint matching to vehicle",
		"stackSize": 1,
		"materialLists": [["mts:unuparts.unuparts_crafting_unu_sheetmetal_panel_steel:0:10", "minecraft:glass_pane:0:2"]]
	},	
	
	"generic": {
		"type": "generic_bodypart_sleeper",
		"customType": "pmc_freightmaster",
		"mustBeRemovedByScrewdriver": false,
		"width": 2,
		"height": 0.25
	},
	
	"subParts": [],
	
	"collisionGroups": [
		          {
			"collisions": [
				{
					"pos" : [0, 2.1875, -0.90625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [0, 2.1875, -1.40625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [0, 2.125, -0.40625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [-0.5625, 2.125, -0.40625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [-0.5625, 2.1875, -0.90625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [-0.5625, 2.1875, -1.40625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [-1.125, 2.125, -0.40625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [-1.125, 2.1875, -0.90625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [-1.125, 2.1875, -1.40625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [0.5625, 2.125, -0.40625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [0.5625, 2.1875, -0.90625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [0.5625, 2.1875, -1.40625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [1.125, 2.1875, -0.90625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [1.125, 2.1875, -1.40625],
					"width" : 0.5,
					"height" : 0.125
				},
				{
					"pos" : [1.125, 2.125, -0.40625],
					"width" : 0.5,
					"height" : 0.125
				}
			],
			"applyAfter": "$Cab"
		}
	],

	"rendering": {
		"animatedObjects": [
			{
				"objectName": "$Cab",
				"animations": []
			},
                        {
				"objectName": "&RearFloodLight",
				"animations": []
			},
                        {
				"objectName": "$fan1",
				"animations": []
			},
                        {
				"objectName": "$fan2",
				"animations": []
			}
                    ],
		"sounds": [],
                "lightObjects": [
	  {
        "objectName": "&RearFloodLight",
        "emissive": true,
        "isElectric": true,
        "color": "#FFFFFF",
        "brightnessAnimations": [
          {
			"animationType": "translation",
			"axis": [0, 1, 0],
			"variable": "Rear Fog LTS",
			"duration": 10,
			"skipForwardsMovement": true
		  }
        ],
        "blendableComponents": [
          {
            "pos": [-1.4375, 1.6838, -1.10313],
            "axis": [0.0,0.0,-1.0],
            "flareHeight": 0.3125,
            "flareWidth": 0.375,
            "beamDiameter": 8,
            "beamLength": 24
          },
          {
            "pos": [1.4375, 1.6838, -1.10313],
            "axis": [0.0,0.0,-1.0],
            "flareHeight": 0.3125,
            "flareWidth": 0.375,
            "beamDiameter": 8,
            "beamLength": 24
          }
        ]
      }
     ],
     "customVariables": ["Rear Fog LTS"]
     },
	"constantValues": {
		"unuisbest": 1,
		"part_SleeperLength": 2.6875,
		"part_cabwallDelete": 1
	},
	
	"variableModifiers": []
}
